hipreme_engine ~master (2025-09-27T13:37:43Z)
Dub
Repo
toBytes
hip
api
net
utils
Undocumented in source. Be warned that the author may not have intended to support it.
ubyte
[
sizeofTypes
!
T
]
toBytes
(T input)
@
nogc
nothrow pure
ubyte
[
sizeofTypes
!
T
]
toBytes
(
T
...
)
(
T
input
)
if
(
!
hasDynamicArray
!(
T
)
)
ubyte
[]
toBytes
(T input)
ubyte
[
N
]
toBytes
(T input)
Meta
Source
See Implementation
hip
api
net
utils
aliases
fromNetworkBytes
fromNetworkBytesInPlace
functions
copyIntoMemory
getSendTypeSize
hasDynamicArray
hton
htonl
htons
isLittleEndian
ntohl
ntohs
sizeofTypes
swapEndian
swapEndianInPlace
toBytes
toNetwork
toNetworkBytes
toNetworkBytesInPlace